package com.im.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.im.app.mapper.IUserMapper;
import com.im.app.service.IUserService;
import org.jim.core.packets.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IUserImpl extends ServiceImpl<IUserMapper, User> implements IUserService {

    @Autowired
    private IUserMapper iUserMapper;

    @Override
    public User getUserByKefuIdAndIp(String kefuId, String ip) {
        return iUserMapper.getUserByKefuIdAndIp(kefuId, ip);
    }
}
